package dbcreation;

import java.sql.Connection;
import java.sql.DriverManager;

public class DBCreator {


	public static void main(String[] args) {
		{
			Connection c = null;
			try {
				Class.forName("org.sqlite.JDBC");
				//le nom du fichier de base de donnee est becloud.db
				c = DriverManager.getConnection("jdbc:sqlite:becloud.db");
			} catch ( Exception e ) {
				System.err.println( e.getClass().getName() + ": " + e.getMessage() );
				System.exit(0);
			}
			System.out.println("Opened database successfully");
		}
	}
}
